<?php
include"connect_flag.php";
  $sta = $_REQUEST['sta'];
  $flag=1;
        mysqli_query($con, "UPDATE badge_id SET flag = $flag WHERE id = '1'");
		mysqli_query($con, "UPDATE badge_id SET sta = '$sta' WHERE id = '1' ");

	mysqli_close($con);
	require_once(dirname(__FILE__) . "/pr_sta_number_2.php");
	
?>